list-[id].vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597
  1. <template>
  2. <!-- 头部 -->
  3. <templateHead></templateHead>
  4. <!-- 菜单 -->
  5. <templateMenu></templateMenu>
  6. <!-- 内容 -->
  7. <div>
  8. <!--广告组件-->
  9. <templateAd :adTag="'bbzxw_list_2'" :skinId="skinId" :adData="adData"></templateAd>
  10. <!--列表组件-->
  11. <templateList :skinId="skinId" :templateData="testTemplateData" :routeId="routeId"></templateList>
  12. </div>
  13. <!-- 底部 -->
  14. <templateFoot></templateFoot>
  15. </template>
  16. <script setup>
  17. //0.加载全局模板组件 start---------------------------------------->
  18. //0.1全局通栏
  19. import templateHead from '@/components/template/sector/head/1200x200/1.vue'
  20. import templateMenu from '@/components/template/sector/menu/1200x130/1.vue'
  21. import templateFoot from '@/components/template/sector/foot/1200x580/1.vue'
  22. //0.2局部通栏
  23. //0.2.1广告组件
  24. import templateAd from '@/components/template/sector/body/ad/1200x90/1.vue'
  25. //0.2.3列表组件
  26. import templateList from '@/components/template/sector/body/list/list/1200x1220/1.vue'
  27. //0.加载全局模板组件 end---------------------------------------->
  28. //1.获得基本信息单元 start---------------------------------------->
  29. //1.1获得页面依赖
  30. import { ref, onMounted } from 'vue';
  31. //1.2使用url查询导航池id
  32. const targetSegment = getRoutePath(1);//当前页面的url路径 这是第一层 所以获得域名后面的第一层url
  33. const routeId = ref("");//当前url路径代表的cid
  34. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  35. method: 'GET',
  36. query: {
  37. 'pinyin': targetSegment,
  38. },
  39. });
  40. if (getRouteId.code == 200) {
  41. routeId.value = getRouteId.data.category_id
  42. }
  43. //1.3获得二级导航
  44. const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
  45. method: 'GET',
  46. query: {
  47. 'placeid': 1,
  48. 'pid': routeId.value,
  49. 'num': 8
  50. },
  51. });
  52. //1.4获得pinia源
  53. import { useTemplateBaseStore } from '@/stores/templateBase'
  54. const templateBaseStore = useTemplateBaseStore()
  55. //1.5获得该页的皮肤id - 在每个组件中也是同样的获得方法
  56. const skinId = ref("")
  57. //1.6获得站点基本信息
  58. const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
  59. method: 'GET',
  60. query: {
  61. 'link_textnum':24,
  62. 'link_imgnum':18,
  63. 'link_footnum':4
  64. },
  65. });
  66. if (responseStatus.code == 200) {
  67. //1.6.1设置站点基本信息
  68. templateBaseStore.setWebSiteInfo(responseStatus.data)
  69. //1.6.2设置皮肤id
  70. skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
  71. }
  72. //1.7获得广告池
  73. const adData = ref([]);
  74. const adResponseStatus = await requestDataPromise('/web/getWebsiteAdvertisement', {
  75. method: 'GET',
  76. query: {},
  77. });
  78. if (adResponseStatus.code == 200) {
  79. templateBaseStore.setAdList(adResponseStatus.data)
  80. adData.value = adResponseStatus.data;
  81. }
  82. //1.8.seo
  83. const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
  84. method: 'GET',
  85. query: {
  86. 'catid': routeId.value
  87. },
  88. });
  89. let seoTitle = setData.data.seo_title;
  90. let seoDescription = setData.data.seo_description;
  91. let seoKeywords = setData.data.seo_keywords;
  92. let seoSuffix = setData.data.suffix;
  93. let seoName = setData.data.website_name;
  94. useSeoMeta({
  95. title: seoTitle + "_" + seoSuffix,
  96. meta: [
  97. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  98. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
  99. ]
  100. });
  101. //1.获得基本信息单元 end---------------------------------------->
  102. //2.获得页面数据 start---------------------------------------->
  103. // const route = useRoute();
  104. // let pageNum = ref(1); //列表页当前页码
  105. // pageNum.value = parseInt(route.params.id);//路由中传递的分页页码
  106. // let total = ref(1); //总条数
  107. // let pageSize = ref(20); //每页条数
  108. //2.页面数据 start---------------------------------------->
  109. //2.0 测试数据 后期移除
  110. const testTemplateData = {
  111. "sectorName": "text",
  112. "componentList": [
  113. {
  114. "component_type": 1,//1=新闻 2=广告
  115. "component_style": 1,//样式
  116. "sort": 1,//组件位置
  117. "data": {
  118. "alias":"一级导航名称",
  119. "category_id": 11,
  120. "pinyin": "nongyeshengchan",
  121. "text": [
  122. {
  123. "id": 2863,
  124. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  125. "islink": 0,
  126. "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  127. },
  128. {
  129. "id": 50129,
  130. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  131. "islink": 0,
  132. "pinyin": "sannongzixun"
  133. },
  134. {
  135. "id": 50129,
  136. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  137. "islink": 0,
  138. "pinyin": "sannongzixun"
  139. },
  140. {
  141. "id": 2862,
  142. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  143. "islink": 0,
  144. "pinyin": "sannongzixun/buweidongtai"
  145. },
  146. {
  147. "id": 50126,
  148. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  149. "islink": 0,
  150. "pinyin": "sannongzixun"
  151. },
  152. {
  153. "id": 3976,
  154. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  155. "islink": 0,
  156. "pinyin": "sannongzixun"
  157. },
  158. {
  159. "id": 50189,
  160. "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  161. "islink": 0,
  162. "pinyin": "nongminhezuoshe"
  163. },
  164. {
  165. "id": 50190,
  166. "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  167. "islink": 0,
  168. "pinyin": "nongminhezuoshe"
  169. }
  170. ],
  171. "img": [
  172. {
  173. "id": 50129,
  174. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  175. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  176. "author": "linyuting123",
  177. "updated_at": "2025-05-30 13:50:54",
  178. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  179. "islink": 0,
  180. "linkurl": "",
  181. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  182. "cat_arr_id": "[1,201]",
  183. "catid": 201,
  184. "level": "[1,2,3]",
  185. "pinyin": "sannongzixun"
  186. },
  187. {
  188. "id": 50129,
  189. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  190. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  191. "author": "佚名",
  192. "updated_at": "2025-05-30 13:50:46",
  193. "introduce": "描述",
  194. "islink": 0,
  195. "linkurl": "",
  196. "copyfrom": "本网",
  197. "cat_arr_id": "[2]",
  198. "catid": 2,
  199. "level": "[2,3]",
  200. "pinyin": "sannongzixun"
  201. },
  202. {
  203. "id": 50129,
  204. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  205. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  206. "author": "佚名",
  207. "updated_at": "2025-05-30 13:50:45",
  208. "introduce": "描述",
  209. "islink": 0,
  210. "linkurl": "",
  211. "copyfrom": "本网",
  212. "cat_arr_id": "[1]",
  213. "catid": 1,
  214. "level": "[2]",
  215. "pinyin": "sannongzixun"
  216. },
  217. {
  218. "id": 50129,
  219. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  220. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  221. "author": "佚名",
  222. "updated_at": "2025-05-30 13:50:44",
  223. "introduce": "描述",
  224. "islink": 0,
  225. "linkurl": "",
  226. "copyfrom": "本网",
  227. "cat_arr_id": "[11]",
  228. "catid": 11,
  229. "level": "[2]",
  230. "pinyin": "xinnongcun"
  231. },
  232. {
  233. "id": 50129,
  234. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  235. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  236. "author": "佚名",
  237. "updated_at": "2025-05-30 13:50:43",
  238. "introduce": "描述",
  239. "islink": 0,
  240. "linkurl": "",
  241. "copyfrom": "本网",
  242. "cat_arr_id": "[14,240]",
  243. "catid": 240,
  244. "level": "[2,3]",
  245. "pinyin": "sannongzixun"
  246. },
  247. {
  248. "id": 50129,
  249. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  250. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  251. "author": "佚名",
  252. "updated_at": "2025-04-16 11:04:29",
  253. "introduce": "描述",
  254. "islink": 0,
  255. "linkurl": "",
  256. "copyfrom": "本网",
  257. "cat_arr_id": null,
  258. "catid": 36,
  259. "level": "[2]",
  260. "pinyin": "sannongzixun"
  261. }
  262. ]
  263. }
  264. },
  265. {
  266. "component_type": 1,//1=新闻 2=广告
  267. "component_style": 1,//样式
  268. "sort": 1,//组件位置
  269. "data": {
  270. "alias":"最新资讯",
  271. "category_id": 11,
  272. "pinyin": "sannongzixun/zhengcefagui",
  273. "text": [
  274. {
  275. "id": 2863,
  276. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  277. "islink": 0,
  278. "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  279. },
  280. {
  281. "id": 50129,
  282. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  283. "islink": 0,
  284. "pinyin": "sannongzixun"
  285. },
  286. {
  287. "id": 50129,
  288. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  289. "islink": 0,
  290. "pinyin": "sannongzixun"
  291. },
  292. {
  293. "id": 2862,
  294. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  295. "islink": 0,
  296. "pinyin": "sannongzixun/buweidongtai"
  297. },
  298. {
  299. "id": 50126,
  300. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  301. "islink": 0,
  302. "pinyin": "sannongzixun"
  303. },
  304. {
  305. "id": 3976,
  306. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  307. "islink": 0,
  308. "pinyin": "sannongzixun"
  309. },
  310. {
  311. "id": 50189,
  312. "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  313. "islink": 0,
  314. "pinyin": "nongminhezuoshe"
  315. },
  316. {
  317. "id": 50190,
  318. "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  319. "islink": 0,
  320. "pinyin": "nongminhezuoshe"
  321. }
  322. ],
  323. "img": [
  324. {
  325. "id": 50129,
  326. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  327. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  328. "author": "linyuting123",
  329. "updated_at": "2025-05-30 13:50:54",
  330. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  331. "islink": 0,
  332. "linkurl": "",
  333. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  334. "cat_arr_id": "[1,201]",
  335. "catid": 201,
  336. "level": "[1,2,3]",
  337. "pinyin": "sannongzixun"
  338. },
  339. {
  340. "id": 50129,
  341. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  342. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  343. "author": "佚名",
  344. "updated_at": "2025-05-30 13:50:46",
  345. "introduce": "描述",
  346. "islink": 0,
  347. "linkurl": "",
  348. "copyfrom": "本网",
  349. "cat_arr_id": "[2]",
  350. "catid": 2,
  351. "level": "[2,3]",
  352. "pinyin": "sannongzixun"
  353. },
  354. {
  355. "id": 50129,
  356. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  357. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  358. "author": "佚名",
  359. "updated_at": "2025-05-30 13:50:45",
  360. "introduce": "描述",
  361. "islink": 0,
  362. "linkurl": "",
  363. "copyfrom": "本网",
  364. "cat_arr_id": "[1]",
  365. "catid": 1,
  366. "level": "[2]",
  367. "pinyin": "sannongzixun"
  368. },
  369. {
  370. "id": 50129,
  371. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  372. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  373. "author": "佚名",
  374. "updated_at": "2025-05-30 13:50:44",
  375. "introduce": "描述",
  376. "islink": 0,
  377. "linkurl": "",
  378. "copyfrom": "本网",
  379. "cat_arr_id": "[11]",
  380. "catid": 11,
  381. "level": "[2]",
  382. "pinyin": "xinnongcun"
  383. },
  384. {
  385. "id": 50129,
  386. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  387. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  388. "author": "佚名",
  389. "updated_at": "2025-05-30 13:50:43",
  390. "introduce": "描述",
  391. "islink": 0,
  392. "linkurl": "",
  393. "copyfrom": "本网",
  394. "cat_arr_id": "[14,240]",
  395. "catid": 240,
  396. "level": "[2,3]",
  397. "pinyin": "sannongzixun"
  398. },
  399. {
  400. "id": 50129,
  401. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  402. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  403. "author": "佚名",
  404. "updated_at": "2025-04-16 11:04:29",
  405. "introduce": "描述",
  406. "islink": 0,
  407. "linkurl": "",
  408. "copyfrom": "本网",
  409. "cat_arr_id": null,
  410. "catid": 36,
  411. "level": "[2]",
  412. "pinyin": "sannongzixun"
  413. }
  414. ]
  415. }
  416. },
  417. {
  418. "component_type": 1,//1=新闻 2=广告
  419. "component_style": 1,//样式
  420. "sort": 3,//组件位置
  421. "data": {
  422. "alias":"热点精选",
  423. "category_id": 11,
  424. "pinyin": "sannongzixun/zhengcefagui",
  425. "text": [
  426. {
  427. "id": 2863,
  428. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  429. "islink": 0,
  430. "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  431. },
  432. {
  433. "id": 50129,
  434. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  435. "islink": 0,
  436. "pinyin": "sannongzixun"
  437. },
  438. {
  439. "id": 50129,
  440. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  441. "islink": 0,
  442. "pinyin": "sannongzixun"
  443. },
  444. {
  445. "id": 2862,
  446. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  447. "islink": 0,
  448. "pinyin": "sannongzixun/buweidongtai"
  449. },
  450. {
  451. "id": 50126,
  452. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  453. "islink": 0,
  454. "pinyin": "sannongzixun"
  455. },
  456. {
  457. "id": 3976,
  458. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  459. "islink": 0,
  460. "pinyin": "sannongzixun"
  461. },
  462. {
  463. "id": 50189,
  464. "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  465. "islink": 0,
  466. "pinyin": "nongminhezuoshe"
  467. },
  468. {
  469. "id": 50190,
  470. "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  471. "islink": 0,
  472. "pinyin": "nongminhezuoshe"
  473. }
  474. ],
  475. "img": [
  476. {
  477. "id": 50129,
  478. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  479. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  480. "author": "linyuting123",
  481. "updated_at": "2025-05-30 13:50:54",
  482. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  483. "islink": 0,
  484. "linkurl": "",
  485. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  486. "cat_arr_id": "[1,201]",
  487. "catid": 201,
  488. "level": "[1,2,3]",
  489. "pinyin": "sannongzixun"
  490. },
  491. {
  492. "id": 50129,
  493. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  494. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  495. "author": "佚名",
  496. "updated_at": "2025-05-30 13:50:46",
  497. "introduce": "描述",
  498. "islink": 0,
  499. "linkurl": "",
  500. "copyfrom": "本网",
  501. "cat_arr_id": "[2]",
  502. "catid": 2,
  503. "level": "[2,3]",
  504. "pinyin": "sannongzixun"
  505. },
  506. {
  507. "id": 50129,
  508. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  509. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  510. "author": "佚名",
  511. "updated_at": "2025-05-30 13:50:45",
  512. "introduce": "描述",
  513. "islink": 0,
  514. "linkurl": "",
  515. "copyfrom": "本网",
  516. "cat_arr_id": "[1]",
  517. "catid": 1,
  518. "level": "[2]",
  519. "pinyin": "sannongzixun"
  520. },
  521. {
  522. "id": 50129,
  523. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  524. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  525. "author": "佚名",
  526. "updated_at": "2025-05-30 13:50:44",
  527. "introduce": "描述",
  528. "islink": 0,
  529. "linkurl": "",
  530. "copyfrom": "本网",
  531. "cat_arr_id": "[11]",
  532. "catid": 11,
  533. "level": "[2]",
  534. "pinyin": "xinnongcun"
  535. },
  536. {
  537. "id": 50129,
  538. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  539. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  540. "author": "佚名",
  541. "updated_at": "2025-05-30 13:50:43",
  542. "introduce": "描述",
  543. "islink": 0,
  544. "linkurl": "",
  545. "copyfrom": "本网",
  546. "cat_arr_id": "[14,240]",
  547. "catid": 240,
  548. "level": "[2,3]",
  549. "pinyin": "sannongzixun"
  550. },
  551. {
  552. "id": 50129,
  553. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  554. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  555. "author": "佚名",
  556. "updated_at": "2025-04-16 11:04:29",
  557. "introduce": "描述",
  558. "islink": 0,
  559. "linkurl": "",
  560. "copyfrom": "本网",
  561. "cat_arr_id": null,
  562. "catid": 36,
  563. "level": "[2]",
  564. "pinyin": "sannongzixun"
  565. }
  566. ]
  567. }
  568. },
  569. ],
  570. "ad": {
  571. "ad_tag": "nmw_index_0003"
  572. }
  573. }
  574. //静态链接测试数据
  575. const testTemplateData2 = {
  576. "sectorName": "linkSector",
  577. "componentList": [
  578. {
  579. "component_type": 3,
  580. "component_style": 1,
  581. "sort": 1,
  582. "componentData": {}
  583. }
  584. ],
  585. "sort": 4
  586. }
  587. //2.页面数据 end---------------------------------------->
  588. </script>
  589. <style lang="less" scoped>
  590. @import url('@/assets/css/list.less');
  591. </style>